<%@ page language="java" contentType="text/html; charset=utf-8" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="bb" class="weaver.general.BaseBean"/>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<%
    JSONObject jsonData = new JSONObject();
    String requestid = Util.null2String(request.getParameter( "requestid" ));
    String nodeid = Util.null2String(request.getParameter( "nodeid" ));
    String sql = "select remark from workflow_requestlog where requestid=? and destnodeid=?";
    rs.executeQuery( sql,requestid,nodeid);
    String remark = "";
    if (rs.next()) {
         remark = Util.null2String( rs.getString( "remark" ) );
    }
    jsonData.put( "remark", remark );
    out.print( jsonData.toJSONString() );
%>
